package com.eight.homepage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.common.pojo.CrmBanner;
import com.eight.homepage.vo.CrmBannerVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 向文豪
 * @program: eight-education-parent
 * @description:
 * @date 2023/5/27 19:35
 */
public interface CrmBannerService {

    Page<CrmBanner> findPage(Integer currentPage, Integer pageSize, CrmBannerVo crmBannerVo);

    int updateStatus(String id,String isDisable);

    int delete(CrmBanner id);

    String addBanner(MultipartFile file);

    int add(CrmBanner crmBanner);
}
